home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / batch / yet101.zip / XMASYET.BAT next >
DOS Batch File  |  1992-03-19  |  328b  |  16 lines

  1. echo off
  2. REM A demonstration of how YET works in a batch file
  3. YET 12/25 
  4. IF ERRORLEVEL 2 GOTO NOTYET
  5. IF ERRORLEVEL 1 GOTO ERROR
  6. REM Pass-through Exit code was 0
  7. ECHO MERRY CHRISTMAS!
  8. GOTO END
  9. :NOTYET
  10. ECHO Still Waiting for Christmas . . . 
  11. GOTO END
  12. :ERROR
  13. ECHO YET did not understand the command line
  14. PAUSE
  15. :END
  16.